package com.me.modules.demo.service;


import com.me.modules.common.page.Page;
import com.me.modules.demo.entity.HiLeaveEntity;

import java.util.List;
import java.util.Map;

/**
 * 请假流程测试
 *
 * @author me
 * @email me@163.com
 * @Date 2018-07-31 13:33:23
 */
public interface HiLeaveService {

	HiLeaveEntity queryObject(String id);

	List<HiLeaveEntity> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	void save(HiLeaveEntity leave);

	void update(HiLeaveEntity leave);

	int delete(String id);

	void deleteBatch(String[] ids);

	Page<HiLeaveEntity> findPage(HiLeaveEntity leaveEntity, int pageNum);
}
